//scss 语法糖包含常用的布局方式 flex column
@import './scss-suger.scss';
//重置 element-plus 样式
@import 'reset-elemenet-plus.scss';
//动画文件
@import './transition.scss';
@import './project-style.scss';

//reset style
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
*::before,
*::after {
  box-sizing: border-box;
}
a:focus,
a:active {
  outline: none;
}
a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1;
  font-weight: 400;
  margin: 0;
  padding: 0;
}
span,
output {
  display: inline-block;
  line-height: 1;
}

//scroll
@mixin main-show-wh() {
  /* css 声明 */
  height: calc(90vh - #{var(--nav-bar-height)} - #{var(--tag-view-height)} - #{calc(var(--app-main-padding) * 2)});
  width: 100%;
}
.scroll {
  width: 100%;
  height: calc(100vh - #{calc(var(--app-main-padding))});
  overflow-y: auto;
  padding-right: 20px;
}
.scroll-y {
  @include main-show-wh();
  overflow-y: auto;
}
.scroll-x {
  @include main-show-wh();
  overflow-x: auto;
}
.scroll-xy {
  @include main-show-wh();
  overflow: auto;
}
::-webkit-scrollbar {
  display: none;
}
.form-cell {
  background: #ffffff;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  padding: 0 10px 0 15px;
  > span {
    position: relative;
    &::after {
      width: 1px;
      height: 20px;
      background-color: #e5e5e5;
      position: absolute;
      content: '';
      z-index: 1;
      right: -2px;
      top: -2px;
    }
  }
  .cell-input {
    flex: 1;
    box-shadow: none !important;
  }
  .cell-input-date {
    box-shadow: none !important;
  }
}
.form-cell-select {
  padding: 0 10px 0 4px;
  > span {
    &::after {
      top: 10px;
    }
  }
}
.reset-btn {
  color: #397dfd;
  border-radius: 30px;
  border: 3px solid #397dfd;
  padding: 6px 20px;
  cursor: pointer;
}
.reset-btn-samll{
  padding:0 10px;
  border: 2px solid #397dfd;
}
.search-btn {
  background: linear-gradient(to right, #3b9bfd 0%, #2b77fa 100%);
  color: #ffffff;
  border-radius: 30px;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.3);
  padding: 6px 50px;
  cursor: pointer;
}
.small-btn {
  padding: 2px 10px;
  background: #2f7afb;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
  border-radius: 24px;
  font-size: 12px;
}
